package com.example.spider.provider.why10w.dto;

import com.example.spider.task.AbstractSpiderTask;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 列表任务，存放翻页需要的属性
 *
 * @author lym
 */
@Getter
@Setter
@Accessors(chain = true)
@JsonTypeInfo(use = JsonTypeInfo.Id.MINIMAL_CLASS, defaultImpl = Why10wListTask.class)
public class Why10wListTask extends AbstractSpiderTask<String> {

    private String source;

    private int page;

    private String firstCategory;

    private String secondCategory;

}
